home *** CD-ROM | disk | FTP | other *** search
/ Make Me a World / Make Me a World (1995)(Guildsoft).iso / install.dat < prev    next >
Text File  |  1995-10-22  |  4KB  |  135 lines

  1. /*////////////////////////////////////////////////////////////////////////*/
  2. // INSTALL.DAT
  3. /*////////////////////////////////////////////////////////////////////////*/
  4.  
  5. @DefineProject
  6.     @Name = "Make me a World"
  7.     @Version = "1.0"
  8.  
  9.     @Subdir = "\\"
  10.     @OutDrive = C
  11.     @Requires @HardDisk
  12.     @Immediate = @TRUE
  13. @EndProject
  14.  
  15.  
  16. ///////////////////////////////////////////////////////////////////////////
  17. @SetOption(2100) // (uncomment this line for int'l distribution)
  18. @SetOption(2300) // (uncomment this line for Windows inclusion)
  19. //@SetOption(2400)  (uncomment this line for DOS ONLY installation)
  20. @SetOption(2600) // (uncomment this line for PROF VERSION installation  - includes DDB)
  21. @SetOption(2710) // (uncomment this line for 1 disk installations)
  22.  
  23. @If(2000 [! @Option &&
  24.     2100 [! @Option &&
  25.     2200 [! @Option &&
  26.     2250 [! @Option &&
  27.     2300 [! @Option &&
  28.     2400 [! @Option &&
  29.     2500 [! @Option &&
  30.     2600 [! @Option)
  31.  
  32. @Display
  33.     Definition options have not been set.
  34.     Please set options to match distribution
  35.     before creating master distribution set.
  36.  
  37.                     @Pause
  38. @EndDisplay
  39. @Exit
  40. @EndIf
  41.  
  42. @If(2300 [= @Option)
  43.       @ClearOption(2250)
  44. @EndIf // If windows is selected, then make sure other 'ONLY's are not selected
  45.  
  46. @If(2400 [= @OPTION)
  47.       @ClearOption(2200)
  48.       @ClearOption(2250)
  49.       @ClearOPtion(2300)
  50. @EndIf // DOS only selected.
  51.  
  52. @If(2710 [= @OPTION)
  53.       @ClearOption(2720)
  54.       @ClearOption(2730)
  55. @EndIf // if 2710 then not 2720 nor 2730
  56.  
  57. @DefineVars
  58.     @Integer @DOS          = 1
  59.     @Integer @WIN          = 3
  60.     @Integer @Red          = @RGB(255,0,0) //DEFINE COLOR RED
  61.     @Integer @Green        = @RGB(0,255,0) //DEFINE COLOR GREEN
  62.     @Integer @Blue         = @RGB(0,0,255) //DEFINE COLOR BLUE
  63.     @Integer @Black        = @RGB(0,0,0)   //DEFINE COLOR BLACK
  64.  
  65. // &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  66. // Project vars insert here
  67.  
  68.     @Qstring @SName   = "Make Me a World"
  69.     @Qstring @GName   = "KID CONCEPT"
  70.     @Qstring @SEnd2   = "Installation completed. "
  71.     @Qstring @SEnd1   = ""
  72.     @Qstring @SReadmeName = "GuildSoft"
  73.  
  74.     @Qstring @LANGUAGE     = "ENGLISH"   // this info is written into the INI file.
  75.     @Qstring @SNDTRACK     = "1"
  76.  
  77.  
  78.     @Qstring @MainRETLABEL = "PATCHRETURN" // Label used for returning from sub-script
  79.     @Qstring @SGroup1 = "[ShowGroup(@GName,2)]"
  80.     @Qstring @SGroup2 = "[ShowGroup(@GName,4)]"
  81.     @Qstring @CGroup  = "[CreateGroup(@GName)]"
  82.     @Qstring @RItem   = "[ReplaceItem(@SName)]"
  83.     @Qstring @RReadItem = "[ReplaceItem(@SReadmeName)]"
  84.     @Qstring @AItem   = ""
  85.     @Qstring @AReadItem   = ""
  86.  
  87. @EndVars
  88.  
  89. // Build group and replaces Icons
  90. @ProgramManager("@SGroup1@CGroup@RReadItem@RItem")
  91.  
  92.  
  93. @BackgroundMode(3,@Blue,@Black)
  94.  @Display
  95.         Welcome!!
  96.  
  97.  Now installing @SName.
  98.  
  99.  @Pause
  100.  @Enddisplay
  101.  
  102.  
  103. @DefineDisk
  104.     @Label = "DISK #1" // --> from DISK.id
  105.     @File TRIDIA.INI  @OUT @WindowsDrive:\@WindowsDir\*.ini @OVERWRITE
  106.     @File GUILDSFT.TXT @OUT @WindowsDrive:\@WindowsDir\*.txt @OVERWRITE    
  107. @EndDisk
  108.  
  109.  
  110. @AItem   = "[AddItem(@InDrive:\\@StartUpDir\\TRIDIA.exe,@SName)]"
  111. @AReadItem   = "[AddItem(@WindowsDrive:\\@WindowsDir\\GUILDSFT.TXT,@SReadmeName)]"
  112. @If (@ProgramManager("@CGroup@AItem@AReadItem@SGroup2")) @EndIf
  113.  
  114. @SetINI ("WMF_FILES", "B&W_DIR","@StartUpDrive:\\@StartUpDir\\BW\\B", "TRIDIA.ini")
  115. @SetINI ("WMF_FILES", "GRAY_DIR", "@StartUpDrive:\\@StartUpDir\\GRAY\\G", "TRIDIA.ini")
  116. @SetINI ("WMF_FILES", "COLOR_DIR", "@StartUpDrive:\\@StartUpDir\\COLOR\\C", "TRIDIA.ini")
  117. @SetINI ("BASE_DIRS", "BMP", "@StartUpDrive:\\@StartUpDir\\", "TRIDIA.ini")
  118. @SetINI ("BASE_DIRS", "SMK", "@StartUpDrive:\\@StartUpDir\\", "TRIDIA.ini")
  119. @SetINI ("BASE_DIRS", "MUSIC", "@StartUpDrive:\\@StartUpDir\\", "TRIDIA.ini")
  120. @SetINI ("GENERAL_INFO", "LANGUAGE", @LANGUAGE, "TRIDIA.ini")
  121. @SetINI ("GENERAL_INFO", "SNDTRACK",@SNDTRACK , "tridia.ini")
  122.  
  123.  @Display @Cls
  124.   @SEnd1
  125.   @SName @SEnd2
  126.                     @Pause
  127.  @EndDisplay
  128.  
  129. @If ((!@Exists("@WindowsDrive:@WindowsDir\\System\\WING32.DLL")) ||
  130.     (!@Exists("@WindowsDrive:@WindowsDir\\System\\WINGDIB.DRV")))
  131.          @WinExec("@InDrive:\\Wing\\SetUp.exe")
  132. @EndIf
  133.  
  134. /* End Of File. */
  135.